#   - FiftyWays
#   - design by daman
#   - and any inspired artist to follow (feel free to modify) 
#   - when completed,please... share your work

include "panel.rc"
include "scrollbar.rc"

#Remove icon images from menu, buttons, toolbar

gtk-menu-images 	= 1
gtk-button-images 	= 0
gtk-toolbar-style	= 0			
gtk-auto-mnemonics 	= 1 # Disables lines under button text

#Boundries within images { left ,right , top ,bottom} ex. buttons, menus
# x,y : directs the size of images, fonts x=width , y=height 

# Theme size of icon images: want smaller? set to size=16
# panel-menu refers to menus in panels  
# gtk-menu refers to menus in GTK-applications  
# gtk-button refers to buttons in GTK-applications  
# gtk-small-toolbar refers to smaller toolbars in GTK-applications  
# gtk-large-toolbar refers to larger toolbars in GTK-applications  
# gtk-dialog refers to dialog boxes in GTK-applications  
# gtk-dnd refers to drag and drop in GTK-applications  

gtk-icon-sizes = "panel-menu=24,24:gtk-menu=24,24:gtk-large-toolbar=24,24:gtk-small-toolbar=24,24:gtk-button=24,24"


#Theme color scheme

gtk_color_scheme = "fg_color:#241f03\nbg_color:#898052\nbase_color:#A5A182\ntext_color:#241f03\nselected_bg_color:#CCC999\nselected_fg_color:#000000"


#Setting some default options
style "default"
{
xthickness 				   = 1
ythickness 				   = 1
	
GtkButton::child-displacement-x 	   = 1
GtkButton::child-displacement-y 	   = 1
GtkButton::default-border 		= { 0, 0, 0, 0 }

GtkCheckButton::indicator-size 		   = 17

# Range config

GtkRange::trough-border		   = 2
GtkVScale::slider_length 		   = 17
GtkVScale::slider_width 		   = 17
GtkHScale::slider_length 		   = 17
GtkHScale::slider_width 		   = 17

# Scrollbar config

GtkRange::slider-width 			   = 16
GtkRange::stepper-size 			   = 16
GtkRange::trough-under-steppers 	   = 1
GtkScrollbar::trough_border          	   = 2
GtkScrollbar::stepper_size	     	   = 16
GtkScrollbar::has_secondary_backward_stepper= 0
GtkScrollbar::has_secondary_forward_stepper = 0
GtkScrollbar::has-backward-stepper 	   = 1
GtkScrollbar::has-forward-stepper 	   = 1
GtkScrolledWindow::scrollbar-spacing	   = 0
GtkScrolledWindow::scrollbars-within-bevel = 1
GtkScrollbar::slider_width	     	   = 16
GtkScrollbar::min-slider-length 	   = 93
GtkScrollbar::fixed-slider-length 	   = 0  # Don't change slider length, just lock it to the min-slider-length

# Tree config

GtkPaned::handle_size		   	   = 4

# sets the arrow size for non tree apps ie. (gcolor2)
GtkExpander::expander-size 	   	   = 14
GtkTreeView::odd-row-color		 = "#98926E"
GtkTreeView::even-row-color		 = "#8F8556"	#  treeview bg color for file mngrs, if you do not use tree-view cells

# sets the arrow size for tree and the offset
GtkTreeView::expander-size 		   = 14

# sets the vertical gap between items for tree
GtkTreeView::vertical-separator 	   = 0

# sets the offset for horizontal tree
GtkTreeView::horizontal-separator 	   = 7

GtkStatusbar::shadow_type	         	= GTK_SHADOW_NONE
GtkSpinButton::shadow_type 			= GTK_SHADOW_NONE	
WnckTasklist::fade-overlay-rect		   = 0

GtkEntry::honors-transparent-bg-hint 	   = 1	# important if you want entry focus effects!
GtkEntry::inner-border			 = { 2, 2, 2, 2 }

fg[NORMAL]        		= @fg_color
fg[PRELIGHT]      		= @selected_fg_color
fg[SELECTED]      		= @selected_fg_color
fg[ACTIVE]        		= @text_color
fg[INSENSITIVE]   		= "#494841"
	
# uncomment-bg_pixmap (remove the #) for a textured window background #
# several bg available in the Shadows folder #
# just be sure to rename for a different look #

 bg_pixmap[NORMAL] = "/Shadows/window-bg.png" 

bg[NORMAL]       		= @bg_color
bg[PRELIGHT]      		= "#CCC999"	# mouse-over/prelight ie. gcolor2
bg[SELECTED]	  		= @selected_bg_color
bg[ACTIVE]        		= shade (0.55, @bg_color)
bg[INSENSITIVE]   		= @bg_color

base[NORMAL]      		= @base_color
base[PRELIGHT]    		= @base_color
base[SELECTED]    		= @selected_bg_color
base[ACTIVE]      		= @selected_bg_color
base[INSENSITIVE] 		= @base_color

text[NORMAL]      		= @text_color
text[PRELIGHT]    		= @selected_fg_color
text[SELECTED]    		= @selected_fg_color
text[ACTIVE]      		= @selected_fg_color
text[INSENSITIVE] 		= "#494841"

engine "pixmap"
{
image
{
function	= HANDLE
file		= "Menu/handlebar-vert.png"
border		= { 1, 1, 1, 1 }
stretch		= TRUE
overlay_file	= "Menu/handle-vert.png"
overlay_stretch	= FALSE
orientation	= VERTICAL
}
image
{
function	= HANDLE
file		= "Menu/handlebar-horiz.png"
border		= { 1, 1, 1, 1 }
stretch		= TRUE
overlay_file	= "Menu/handle-horiz.png"
overlay_stretch	= FALSE
orientation	= HORIZONTAL
}
image
{
function	= RESIZE_GRIP
recolorable	= TRUE
detail		= "statusbar"
overlay_file	= "Menu/statusgrip.png"
overlay_border	= { 1, 1, 1, 1 }
overlay_stretch	= FALSE
}
image
{
function	= BOX
state		= NORMAL
recolorable	= TRUE
file		= "Buttons/button-normal.png"		
border		= { 3, 4, 3, 4 }
stretch		= TRUE	
}
image
{
function        = BOX
recolorable     = TRUE
state		= SELECTED
file            = "Buttons/button-prelight.png"
border          = { 3, 4, 3, 4 }
stretch         = TRUE
}
image
{
function	= BOX
state		= ACTIVE
recolorable	= TRUE
file		= "Buttons/button-pressed.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
image 
{ 
function		= BOX
state		= INSENSITIVE
recolorable	= TRUE
file			= "Buttons/button-insensitive.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}						
image
{
function	= SHADOW
shadow		= IN
recolorable	= TRUE
file		= "Shadows/shadow-in.png"
border		= { 2, 2, 2, 2 }
stretch		= TRUE
}
image
{
function	= SHADOW
shadow		= OUT
recolorable	= TRUE
file		= "Shadows/shadow-out.png"
border		= { 2, 2, 2, 2 }
stretch		= TRUE
}
image
{
function	= SHADOW
shadow		= ETCHED_IN
recolorable	= TRUE
file		= "Shadows/shadow-etched-in.png"
border		= { 2, 2, 2, 2 }
stretch	  	= TRUE
}
image
{
function	= SHADOW
shadow		= ETCHED_OUT
recolorable	= TRUE
file		= "Shadows/shadow-etched-out.png"
border		= { 1, 1, 1, 1 }
stretch		= TRUE
}
image
{
function	= VLINE
recolorable	= TRUE
file		= "Lines/line-v.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
}
image
{
function	= HLINE
recolorable	= TRUE
file		= "Lines/line-h.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
}
image
{
function	= FOCUS
recolorable	= TRUE
file		= "Others/focus.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
}
image
{
function	= ARROW
recolorable	= TRUE
state		= NORMAL
overlay_file	= "Arrows/arrow-up.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= UP
}
image
{
function	= ARROW
recolorable	= TRUE
state		= PRELIGHT
overlay_file	= "Arrows/arrow-up-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= UP
}
image
{
function	= ARROW
recolorable	= TRUE
state		= ACTIVE
overlay_file	= "Arrows/arrow-up-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= UP
}
image
{
function	= ARROW
recolorable	= TRUE
state		= SELECTED
overlay_file	= "Arrows/arrow-up-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= UP
}
image
{
function	= ARROW
recolorable	= TRUE
state		= INSENSITIVE
overlay_file	= "Arrows/arrow-up-insensitive.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= UP
}
image
{
function	= ARROW
recolorable	= TRUE
state		= NORMAL
overlay_file	= "Arrows/arrow-down.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= DOWN
}
image
{
function	= ARROW
recolorable	= TRUE
state		= PRELIGHT
overlay_file	= "Arrows/arrow-down-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= DOWN
}
image
{
function	= ARROW
recolorable	= TRUE
state		= ACTIVE
overlay_file	= "Arrows/arrow-down-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= DOWN
}
image
{
function	= ARROW
recolorable	= TRUE
state		= SELECTED
overlay_file	= "Arrows/arrow-down-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= DOWN
}
image
{
function	= ARROW
recolorable	= TRUE
state		= INSENSITIVE
overlay_file	= "Arrows/arrow-down-insensitive.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= DOWN
}
image
{
function	= ARROW
recolorable	= TRUE
state		= NORMAL
overlay_file	= "Arrows/arrow-left.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= LEFT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= PRELIGHT
overlay_file	= "Arrows/arrow-left-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= LEFT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= ACTIVE
overlay_file	= "Arrows/arrow-left-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= LEFT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= SELECTED
overlay_file	= "Arrows/arrow-left-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= LEFT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= INSENSITIVE
overlay_file	= "Arrows/arrow-left-insensitive.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= LEFT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= NORMAL
overlay_file	= "Arrows/arrow-right.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= PRELIGHT
overlay_file	= "Arrows/arrow-right-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= ACTIVE
overlay_file	= "Arrows/arrow-right-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= SELECTED
overlay_file	= "Arrows/arrow-right-prelight.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= INSENSITIVE
overlay_file	= "Arrows/arrow-right-insensitive.png"
overlay_border	= { 2, 2, 2, 2 }
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
#  This is the image used to draw a check box, placed in default to include in menus.
image 
{
function        			= CHECK
recolorable     		= TRUE
shadow          		= OUT
overlay_file    		= "Others/unchecked_box.png"
overlay_border		= { 0, 0, 0, 0 }
overlay_stretch		= FALSE
}
image 
{
function        			= CHECK
recolorable     		= TRUE
shadow          		= IN
overlay_file    		= "Others/checked_box.png"
overlay_border		= { 0, 0, 0, 0 }
overlay_stretch 		= FALSE
}
#This is the image used to draw a selected radio button, placed in default to include in menus.
 image 
{
function        			= OPTION
recolorable     		= TRUE
shadow          		= OUT
overlay_file    		= "Others/option_out_2.png"
overlay_border		= { 0, 0, 0, 0 }
overlay_stretch 		= FALSE
}
image 
{
function        			= OPTION
recolorable     		= TRUE
shadow          		= IN
overlay_file    		= "Others/option_in_2.png"
overlay_border  		= { 0, 0, 0, 0 }
overlay_stretch 		= FALSE
}

#This is the image used to draw a box, over the entire window and inactive (detailed) window lists.
#Comment (#) the following six lines, to disable the look and boost the gtk2 performance ~0.30 seconds.
#	mage 
#	{
#	function        			= FLAT_BOX
#	recolorable   			= TRUE
#	file            			= "Others/hi-light-focus.png"
#	border          			= { 4, 4, 4, 4 }
# }
}
}

###########################
# Added "inactivestate" + engine mist, to counter pixmap ugly rendering of inactive 
# text in; menus,buttons, icons. The widgets that control this are located at
# the end of the file.
###########################

style "inactivestate"
{
engine "mist"
{
}
}

style "tooltip" 	
{
# give your tooltip text some room, set x,y big!

xthickness 	= 9
ythickness 	= 9
fg[NORMAL] 	= "#000000"
engine "pixmap"
{
image
{
function	= FLAT_BOX
detail		= "tooltip"
recolorable	= TRUE
file		= "Others/tooltip-bg.png"
border		= { 3, 3, 3, 5 }
stretch		= TRUE
}
}
}

style "button" 	
{
xthickness 	= 1
ythickness 	= 3
engine "pixmap"
{
image
{
function	= BOX
detail		= "buttondefault"
recolorable	= TRUE
file		= "Buttons/button-default.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
image
{
function	= BOX
state		= PRELIGHT
recolorable	= TRUE
file		= "Buttons/button-prelight.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
image
{
function	= BOX
state		= ACTIVE
recolorable	= TRUE
file		= "Buttons/button-pressed.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}	
image 
{
function	= BOX
state		= INSENSITIVE
recolorable	= TRUE
file		= "Buttons/button-insensitive.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
image 
{
function	= BOX
state		= NORMAL
recolorable	= TRUE
file		= "Buttons/button-normal.png"		
border		= { 3, 4, 3, 4 }
stretch		= TRUE	
}
image
{
function	= FOCUS
recolorable	= TRUE
file		= "Others/focus.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
}		
}
}

style "entry" 
{
xthickness 		  = 1
ythickness 		  = 1
base[NORMAL]	  	  = "#99956B"
GtkWidget::interior_focus = 0
engine "pixmap"
{
image
{
function	= FOCUS
recolorable	= TRUE
file		= "Shadows/text-entry-focus.png"
border		= { 3, 3, 3, 3 }
stretch		= TRUE
}	
image
{
function	= BOX
recolorable	= TRUE
shadow		= OUT
state		= NORMAL
file		= "Shadows/text-entry.png"
border		= { 3, 3, 3, 3 }
stretch		= TRUE
}	
image
{
function	= SHADOW
detail		= "entry"
shadow		= IN
recolorable	= FALSE
file		= "Shadows/text-entry.png"
border		= { 3, 3, 3, 3 }
stretch		= TRUE
}
}
}

style "menubar" 
{
xthickness 	= 2
ythickness 	= 2	
fg[NORMAL]      = "#241f03"
fg[PRELIGHT]    = "#000000"
fg[SELECTED]    = "#000000"
engine "pixmap"
{
image
{
function	= BOX
state		= NORMAL
recolorable	= TRUE
file		= "Menu/menubar.png"
border		= { 0, 0 ,0, 0 }
stretch		= TRUE
overlay_file	= "Menu/menubar1.png"
overlay_border	= { 6, 6, 6, 6 }
overlay_stretch	= TRUE
}
image
{
function	= BOX
recolorable	= TRUE
state		= PRELIGHT
file		= "Menu/menubar-prelight.png"
border		= { 3, 3, 3, 3 }
stretch		= TRUE
}
image
{
function	= BOX
recolorable	= TRUE
state		= ACTIVE
file		= "Menu/menubar.png"
border		= { 0, 0 ,0, 0 }
stretch		= TRUE
overlay_file	= "Menu/menubar1.png"
overlay_border	= { 6, 6, 6, 6 }
overlay_stretch	= TRUE
}
image
{
function	= BOX
recolorable	= TRUE
state		= SELECTED
file		= "Menu/menubar.png"
border		= { 0, 0 ,0, 0 }
stretch		= TRUE
overlay_file	= "Menu/menubar1.png"
overlay_border	= { 6, 6, 6, 6 }
overlay_stretch	= TRUE
}
image
{
function	= BOX
recolorable	= TRUE
state		= INSENSITIVE
file		= "Menu/toolbar1.png"
border		= { 0, 0 ,0, 0 }
stretch		= TRUE
overlay_file	= "Menu/menubar.png"
overlay_border	= { 6, 6, 6, 6 }
overlay_stretch	= TRUE
}
}
}

style "menu" 
{
xthickness	= 5
ythickness	= 5
engine "pixmap"
{
image
{
function	= BOX
recolorable    	= TRUE
detail		= "menu"
file		= "Menu/menu.png"
border		= { 5, 5, 5, 5 }
stretch		= TRUE
#overlay_file	= "Menu/menu-sticker.png"
#overlay_stretch	= FALSE
}
}
}

style "menuitem"	
{
  
xthickness	= 3
ythickness	= 2  
engine "pixmap"
{
image
{
function	= BOX
recolorable	= TRUE
file		= "Menu/menuitem.png"
border		= { 16, 16, 8, 8 }
stretch		= TRUE
}
image
{
function	= ARROW
recolorable	= TRUE
state		= NORMAL
overlay_file	= "Arrows/arrow-right-insensitive.png"
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= PRELIGHT
overlay_file	= "Arrows/arrow-right.png"
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
image
{
function	= ARROW
recolorable	= TRUE
state		= INSENSITIVE
overlay_file	= "Arrows/arrow-right-insensitive.png"
overlay_stretch	= FALSE
arrow_direction	= RIGHT
}
image
{
function	= VLINE
recolorable	= TRUE
file		= "Lines/line-v.png"
border		= { 1, 1, 0, 0 }
stretch		= TRUE
}
image
{
function	= HLINE
recolorable	= TRUE
file		= "Lines/line-h.png"
border		= { 0, 0, 1, 1 }
stretch		= TRUE
}	
}
}

style "toolbar" 
{
xthickness 	= 2
ythickness 	= 2	
engine "pixmap"
{
image 
{
function	= BOX
state		= NORMAL
recolorable	= TRUE
file		= "Menu/toolbar1.png"
border		= { 0,0,0,0 }
stretch		= FALSE
overlay_file	= "Menu/toolbar.png"
overlay_border	= { 6,6,6,6 }
overlay_stretch	= TRUE
}
}
}

style "toolbutton" 
{
xthickness            	 = 1
ythickness            	 = 1
GtkWidget::focus_padding = 2
engine "pixmap" 
{  
image
{
function        = BOX
recolorable     = TRUE
state		= NORMAL
file            = "Menu/toolbutton-normal.png"
border          = { 4, 4, 4, 4 }
stretch         = TRUE
}
image
{
function        = BOX
recolorable     = TRUE
state		= PRELIGHT
file            = "Menu/toolbutton-prelight.png"
border          =  { 4, 4, 4, 4 }
stretch         = TRUE
}
image
{
function        = BOX
recolorable     = TRUE
state		= ACTIVE
file            = "Menu/toolbutton-pressed.png"
border          =  { 4, 4, 4, 4 }
stretch         = TRUE
}  
image
{
function        = BOX
recolorable     = TRUE
state		= INSENSITIVE
file            = "Menu/toolbutton-normal.png"
border          =  { 4, 4, 4, 4 }
stretch         = TRUE
}
}
}

style "notebook"
{
xthickness 	= 2
ythickness	= 2

# Adjust spacing between tabs 
GtkNotebook::tab-overlap = 1     
engine "pixmap" 
{
image 
{
function	= EXTENSION
recolorable	= TRUE
state		= ACTIVE
file		= "Tabs/tab-bottom.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= TOP
}
image 
{
function	= EXTENSION
recolorable	= TRUE
state		= ACTIVE
file		= "Tabs/tab-top.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= BOTTOM
}
image 
{
function	= EXTENSION
recolorable	= TRUE
state		= ACTIVE
file		= "Tabs/tab-left.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= RIGHT
}
image 
{
function	= EXTENSION
recolorable	= TRUE
state		= ACTIVE
file		= "Tabs/tab-right.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= LEFT
}	
image 
{
function	= EXTENSION
recolorable	= TRUE
file		= "Tabs/tab-top-active.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= BOTTOM
}
image 
{
function	= EXTENSION
recolorable	= TRUE
file		= "Tabs/tab-bottom-active.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= TOP
}
image 
{
function	= EXTENSION
recolorable	= TRUE
file		= "Tabs/tab-left-active.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= RIGHT
}
image 
 {
function	= EXTENSION
recolorable	= TRUE
file		= "Tabs/tab-right-active.png"
border		= { 4, 4, 4, 4 }
stretch		= TRUE
gap_side	= LEFT
}
image
{
function	= FOCUS
recolorable	= TRUE
file		= "Others/focus.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
}		

# How to draw boxes with a gap on one side (ie the page of a notebook)

image 
{
function	= BOX_GAP
recolorable	= TRUE
file		= "Tabs/notebook.png" 
border		= { 10, 10, 10, 10 }
stretch		= TRUE
gap_side	= TOP
}
image 
{
function	= BOX_GAP
recolorable	= TRUE
file		= "Tabs/notebook.png"
border		= { 10, 10, 10, 10 }
stretch		= TRUE
gap_side	= BOTTOM
}
image 
{
function	= BOX_GAP
recolorable	= TRUE
file		= "Tabs/notebook.png" 
border		= { 10, 10, 10, 10 }
stretch		= TRUE
gap_side	= LEFT
}
image 
{
function	= BOX_GAP
recolorable	= TRUE
file		= "Tabs/notebook.png" 
border		= { 10, 10, 10, 10 }	
stretch		= TRUE
gap_side	= RIGHT
}
# How to draw the box of a notebook when it isnt attached to a tab

image 
{
function	= BOX
recolorable	= TRUE
file		= "Tabs/notebook.png"
border		= { 9, 9, 9, 9 }
stretch		= TRUE
}
}
}

style "listheader" 
{
xthickness 	= 2
ythickness 	= 2
engine "pixmap"
{
image
{
function	= BOX
state		= NORMAL
recolorable	= TRUE
file		= "Buttons/button-default.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
image
{
function	= BOX
state		= PRELIGHT
recolorable	= TRUE
file		= "Buttons/button-prelight.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
image
{
function	= BOX
state		= ACTIVE
recolorable	= TRUE
file		= "Buttons/button-normal.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
image
{
function	= BOX
state		= INSENSITIVE
recolorable	= TRUE
file		= "Buttons/button-insensitive.png"
border		= { 3, 4, 3, 4 }
stretch		= TRUE
}
}
}

style "treeview-item" 
{
  xthickness 			= 2
  ythickness 			= 2
  engine "pixmap"
    {
    image
    {
	function			= FLAT_BOX
	state				= SELECTED
	file				= "Listheaders/treeitem.png"
	border			= { 8, 8, 5, 9 }
	stretch			= TRUE
    }
    image
    {
	function			= FLAT_BOX
	state				= NORMAL
	detail 			= "cell_odd"
	file				= "Listheaders/odd.png"
	border          		= {0, 0, 0, 0}
	stretch			= TRUE
    }
    image
    {
	function			= FLAT_BOX
	state				= NORMAL
	detail 			= "cell_even"
	file				= "Listheaders/even.png"
	border          		= {0, 0, 1, 1}
	stretch			= TRUE
    }
    image
    {
      	function			= FOCUS
      	recolorable			= TRUE
      	file				= "Others/focus.png"
      	border			= { 0, 0, 1, 1 }
      	stretch			= TRUE
      }		
   }
}

style "progressbar" 
{
fg[NORMAL]       = @fg_color
fg[PRELIGHT]     = @selected_fg_color
xthickness       = 1
ythickness       = 2
engine "pixmap" 
{
image
{
function	= BOX
detail		= "trough"
file		= "ProgressBar/trough-progressbar-horiz.png"
border		= { 2, 2, 2, 2 }
stretch		= TRUE
orientation     = HORIZONTAL
}
image
{
function	= BOX
detail		= "trough"
file		= "ProgressBar/trough-progressbar-vert.png"
border		= { 2, 2, 2, 2 }
stretch		= TRUE
orientation     = VERTICAL
}
image
{
function	= BOX
recolorable	= TRUE
detail		= "bar"
file		= "ProgressBar/progressbar-horiz.png"
border		= { 2, 2, 2, 2 }
stretch		= TRUE
orientation     = HORIZONTAL
} 
image
{
function	= BOX
detail		= "bar"
file		= "ProgressBar/progressbar-vert.png"
border		= { 2, 2, 2, 2 }
stretch		= TRUE
orientation	= VERTICAL
}
}
}

style "spin"    
{
xthickness   	= 2
ythickness   	= 2
GtkWidget::interior_focus = 0 
engine "pixmap"
{
image
{
function	= FOCUS
recolorable	= TRUE
file		= "Shadows/text-entry-focus.png"
border		= { 3, 3, 3, 3 }
stretch		= TRUE
}	
image
{
function	= BOX
recolorable	= TRUE
shadow		= OUT
state		= NORMAL
file		= "Shadows/text-entry.png"
border		= { 3, 3, 3, 3 }
stretch		= TRUE
}		
image
{
function	= SHADOW
detail		= "entry"
shadow		= IN
recolorable	= TRUE
file		= "Shadows/text-entry.png"
border		= { 3, 3, 3, 3 }
stretch		= TRUE
}
}
}

style "spinbutton"
{
xthickness    	= 4
ythickness  	= 4
engine "pixmap"
{
image
{
function	= ARROW
}
image
{
function	= BOX
state		= NORMAL
detail		= "spinbutton_up"
recolorable	= TRUE
file		= "Arrows/stepper-up.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
image
{
function	= BOX
state		= PRELIGHT
detail		= "spinbutton_up"
recolorable	= TRUE
file		= "Arrows/stepper-up-prelight.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
image
{
function	= BOX
state		= ACTIVE
detail		= "spinbutton_up"
recolorable	= TRUE
file		= "Arrows/stepper-up-prelight.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
image
{
function	= BOX
state		= INSENSITIVE
detail		= "spinbutton_up"
recolorable	= TRUE
file		= "Arrows/stepper-up.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
image
{
function	= BOX
state		= NORMAL
detail		= "spinbutton_down"
recolorable	= TRUE
file		= "Arrows/stepper-down.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
image
{
function	= BOX
state		= PRELIGHT
detail		= "spinbutton_down"
recolorable	= TRUE
file		= "Arrows/stepper-down-prelight.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
image
{
function	= BOX
state		= ACTIVE
detail		= "spinbutton_down"
recolorable	= TRUE
file		= "Arrows/stepper-down-prelight.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
image
{
function	= BOX
state		= INSENSITIVE
detail		= "spinbutton_down"
recolorable	= TRUE
file		= "Arrows/stepper-down.png"
border		= { 5 , 5 , 5 , 5}
stretch		= TRUE
}
}
}

style "checkbox" 
{
engine "pixmap" 
{

#This is the image used to draw an unchecked box.

image 
{
function        = CHECK
recolorable     = TRUE
shadow          = OUT
overlay_file    = "Others/unchecked_box.png"
overlay_border		= { 0, 0, 0, 0 }
overlay_stretch	= FALSE
}

#This is the image used to draw a selected (checked) box.

image 
{
function        = CHECK
recolorable     = TRUE
shadow          = IN
overlay_file    = "Others/checked_box.png"
overlay_border		= { 0, 0, 0, 0 }
overlay_stretch = FALSE
}

#This image to draw the prelight when check box is moused over.

image
{
function        = FLAT_BOX
recolorable     = TRUE
file            = "Others/prelight.png"
border          = { 3, 3, 3, 5 }
}
}
}

style "radiobutton" 
{
engine "pixmap" 
{
image 
{
function        = OPTION
recolorable     = TRUE
shadow          = OUT
overlay_file    = "Others/option_out_2.png"
overlay_border	= { 0, 0, 0, 0 }
overlay_stretch = FALSE
}
image 
{
function        = OPTION
recolorable     = TRUE
shadow          = IN
overlay_file    = "Others/option_in_2.png"
overlay_border  = { 0, 0, 0, 0 }
overlay_stretch = FALSE
}

#This image to draw the highlight when a radio box is moused over.

image 
{
function        = FLAT_BOX
recolorable     = TRUE
file            = "Others/prelight.png"
border          = { 3, 3, 3, 5 }
}
}
}

style "flat" 		
{
engine "pixmap"
{
image
{
function	= SHADOW
file		= "Shadows/shadow-in.png"
border		= {2, 2, 2, 2}
stretch		= TRUE
}
}
}

style "combobox"	
{
xthickness 	= 1
ythickness 	= 1
engine "pixmap"
{
image
{
function	= BOX
recolorable	= TRUE
state		= NORMAL
file		= "Buttons/button-normal.png"
border		= { 8, 8, 5, 9 }
stretch		= TRUE
}
image
{
function	= BOX
recolorable	= TRUE
state		= PRELIGHT
file		= "Buttons/button-prelight.png"
border		= { 8, 8, 5, 9 }
stretch		= TRUE
}
image
{
function	= BOX
recolorable	= TRUE
state		= ACTIVE
file		= "Buttons/button-pressed.png"
border		= { 8, 8, 5, 9 }
stretch		= TRUE
}
image
{
function	= BOX
recolorable	= TRUE
state		= INSENSITIVE
file		= "Buttons/button-insensitive.png"
border		= { 8, 8, 5, 9 }
stretch		= TRUE
}
image
{
function	= TAB
recolorable	= TRUE
state		= NORMAL
overlay_file	= "Arrows/arrow-down.png"
overlay_border	= { 0, 0, 0, 0 }
overlay_stretch	= FALSE
}
image
{
function	= TAB
recolorable	= TRUE
state		= PRELIGHT
overlay_file	= "Arrows/arrow-down-prelight.png"
overlay_border	= { 0, 0, 0, 0 }
overlay_stretch	= FALSE
}
image
{
function	= TAB
recolorable	= TRUE
state		= ACTIVE
overlay_file	= "Arrows/arrow-down-prelight.png"
overlay_border	= { 0, 0, 0, 0 }
overlay_stretch	= FALSE
}
image
{
function	= TAB
recolorable	= TRUE
state		= INSENSITIVE
overlay_file	= "Arrows/arrow-down.png"
overlay_border	= { 0, 0, 0, 0 }
overlay_stretch	= FALSE
}
}
}

style "comboboxentry" = "entry"  
{
xthickness 	= 2
ythickness 	= 2
base[NORMAL]	= "#99956B"
GtkWidget::interior_focus = 1
}

style "range" 
{
xthickness 	= 1
ythickness 	= 1	
engine "pixmap" 
{
image 
{
function	= BOX
recolorable	= TRUE
detail		= "trough"
file		= "Range/trough-horizontal.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/trough-horizontal1.png"
overlay_border	= { 0, 0, 0, 0 }
overlay_stretch	= FALSE
orientation	= HORIZONTAL
}	
image 
{
function	= BOX
recolorable	= TRUE
detail		= "trough"
file		= "Range/trough-vertical.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/trough-vertical1.png"
overlay_border	= { 0, 0, 0, 0 }
overlay_stretch	= FALSE
orientation	= VERTICAL
}
image
{
function	= FOCUS
recolorable	= TRUE
file		= "Others/focus.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
}		

############### the sliders ###############

image 
{
function	= SLIDER
recolorable	= TRUE
state           = NORMAL
file		= "Range/null.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/slider-horiz.png"
overlay_stretch	= FALSE
orientation	= HORIZONTAL
}
image 
{
function	= SLIDER
recolorable	= TRUE
state           = PRELIGHT
file		= "Range/null.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/slider-horiz-prelight.png"
overlay_stretch	= FALSE
orientation	= HORIZONTAL
}
image 
{
function	= SLIDER
recolorable	= TRUE
state           = INSENSITIVE
file		= "Range/null.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/slider-horiz.png"
overlay_stretch	= FALSE
orientation	= HORIZONTAL
}

############### VERTICAL ################

image 
{
function	= SLIDER
recolorable	= TRUE
state           = NORMAL
file		= "Range/null.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/slider-vert.png"
overlay_stretch	= FALSE
orientation	= VERTICAL
}
image 
{
function	= SLIDER
recolorable	= TRUE
state           = PRELIGHT
file		= "Range/null.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/slider-vert-prelight.png"
overlay_stretch	= FALSE
orientation	= VERTICAL
}
image 
{
function	= SLIDER
recolorable	= TRUE
state           = INSENSITIVE
file		= "Range/null.png"
border		= { 0, 0, 0, 0 }
stretch		= TRUE
overlay_file	= "Range/slider-vert.png"
overlay_stretch	= FALSE
orientation	= VERTICAL
}
}
}

style "xfnotifywindow"
{
XfceNotifyWindow::border-width 	= 3
XfceNotifyWindow::border-color 	= "#B7962F"
XfceNotifyWindow::border-radius = 2.0
bg[NORMAL] 			= "#CCAF8F"  
}

style "xfnotifytext" 
{
fg[NORMAL] 	= "#000000"
fg[PRELIGHT] 	= "#000000"
}

style "nautilus-location"
{
bg[NORMAL] = mix(0.60, @bg_color, @selected_bg_color)
}

#Fix for (ruler) in Gimp,LibreOffice,etc allowing us to set Box NORMAL in default for nice Mines 

style "ruler"
{
engine "mist"
{
}
}

#########################################
# Matches   widget styles
######################################### 

# default style is applied to every widget

class "GtkWidget"				style "default"

class "GtkButton"          			style "button"
class "GtkEventBox"    				style "flat"
class "GtkSpin*" 				style "spin"
class "GtkSpinButton"  				style "spinbutton"
class "GtkRadioButton"     			style "radiobutton"
class "GtkCheckButton"     			style "checkbox"
class "GtkProgressBar"     			style "progressbar"
class "GtkRange"     				style "range"
class "GtkEntry"     				style "entry"
class "GtkOldEditable" 				style "entry"
class "GtkStatusbar" 				style "default"
class "GtkMenu"        				style "menu"
class "GtkMenuItem"    				style "menuitem"
class "GtkOptionMenu"				style "combobox"
class "GtkMenuBar" 		     		style "menubar"
class "GtkNotebook" 				style "notebook"
class "GtkHandleBox"    			style "default"
class "GtkPaned"       				style "default"
class "GtkToolBar"				style "toolbar"
class "GtkTooltip"				style "tooltip"
class "GtkNotif" 				style "tooltip"
class "GtkCombo*"       			style "combobox"
class "GtkOptionMenu"       			style "combobox"
class "GtkImageMenuItem"    			style "menuitem"
class "GtkTearoffMenuItem"			style "menuitem"
class "GtkItem"    				style "menuitem"
class "GtkTreeView"				style "treeview-item"
class "*Ruler*"					style "ruler"
class "XfceNotifyWindow" 			style "xfnotifywindow"

###  "widget_class" is highest level (over-rides > class) ### 
###  "widget" just pertains to widgets i.e. panel apps ###

widget_class "*MenuBar.*"			style:highest "menubar"
widget_class "*MenuItem*"        		style "menuitem"
widget_class "*GtkOptionMenu*"    		style "combobox"
widget_class "*Combo*"       			style "combobox"
widget_class "*GtkCombo*"       		style "combobox"
widget_class "*GtkComboBoxEntry*" 		style "entry"
widget_class "*ToolBar"				style "toolbar"
widget_class "*HandleBox"           	 	style "default"
widget_class "*GtkToolbar*"  			style "toolbar"
widget_class "*GtkToolButton*"      		style "toolbutton"
widget_class "*GtkToggleToolButton*"    	style "toolbutton"
widget_class "*GtkToolbar*OptionMenu*"	      	style "menu"
widget_class "*GtkToolbar*Button"		style "toolbutton"
widget_class "*Tool*GtkToggleButton" 		style "toolbutton"
widget_class "*Tool*GtkButton" 			style "toolbutton"
widget_class "*GtkTooltip*" 			style "tooltip"
widget_class "*GtkNotif*" 			style "tooltip"
widget "*gtk-tooltip*" 				style "tooltip"
widget_class "*<GtkNotebook>.GtkLabel*" 	style "notebook"   # makes only tab label
#widget_class "*GtkNotebook*GtkLabel*"		style "notebook"   # makes all fg labels
widget_class "*XfceNotifyWindow*.<GtkLabel>" 	style "xfnotifytext"
widget_class "XfceNotifyWindow.*<GtkButton>" 	style "button"	
widget_class "*Nautilus*Toolbar*Entry*"		style "entry"

widget_class "*.<GtkLabel>"			style "inactivestate"
widget_class "*.<GtkCellLayout>"		style "inactivestate"
widget_class "*.<Combo>"			style "inactivestate"
widget_class "*.<GtkMenuItem>.*"		style "inactivestate"

# list header
widget_class "*List"				style "listheader"
widget_class "*GtkCList"			style "listheader"
widget_class "*GtkTree"				style "treeview-item"

widget_class "*.GtkTreeView"			style "treeview-item"
widget_class "*.<GtkTreeView>"			style "treeview-item"
	
### The End. #### default style is applied to every widget

# default style is applied to every widget

class "GtkWidget"				style "default"

class "GtkButton"          			style "button"
class "GtkEventBox"    				style "flat"
class "GtkSpin*" 				style "spin"
class "GtkSpinButton"  				style "spinbutton"
class "GtkRadioButton"     			style "radiobutton"
class "GtkCheckButton"     			style "checkbox"
class "GtkProgressBar"     			style "progressbar"
class "GtkRange"     				style "range"
class "GtkEntry"     				style "entry"
class "GtkOldEditable" 				style "entry"
class "GtkStatusbar" 				style "default"
class "GtkMenu"        				style "menu"
class "GtkMenuItem"    				style "menuitem"
class "GtkOptionMenu"				style "combobox"
class "GtkMenuBar" 		     		style "menubar"
class "GtkNotebook" 				style "notebook"
class "GtkHandleBox"    			style "default"
class "GtkPaned"       				style "default"
class "GtkToolBar"				style "toolbar"
class "GtkTooltip"				style "tooltip"
class "GtkNotif" 				style "tooltip"
class "GtkCombo*"       			style "combobox"
class "GtkOptionMenu"       			style "combobox"
class "GtkImageMenuItem"    			style "menuitem"
class "GtkTearoffMenuItem"			style "menuitem"
class "GtkItem"    				style "menuitem"
class "GtkTreeView"				style "treeview-item"
class "*Ruler*"					style "ruler"
class "XfceNotifyWindow" 			style "xfnotifywindow"

###  "widget_class" is highest level (over-rides > class) ### 
###  "widget" just pertains to widgets i.e. panel apps ###

widget_class "*MenuBar.*"			style:highest "menubar"
widget_class "*MenuItem*"        		style "menuitem"
widget_class "*GtkOptionMenu*"    		style "combobox"
widget_class "*Combo*"       			style "combobox"
widget_class "*GtkCombo*"       		style "combobox"
widget_class "*GtkComboBoxEntry*" 		style "entry"
widget_class "*ToolBar"				style "toolbar"
widget_class "*HandleBox"           	 	style "default"
widget_class "*GtkToolbar*"  			style "toolbar"
widget_class "*GtkToolButton*"      		style "toolbutton"
widget_class "*GtkToggleToolButton*"    	style "toolbutton"
widget_class "*GtkToolbar*OptionMenu*"	      	style "menu"
widget_class "*GtkToolbar*Button"		style "toolbutton"
widget_class "*Tool*GtkToggleButton" 		style "toolbutton"
widget_class "*Tool*GtkButton" 			style "toolbutton"
widget_class "*GtkTooltip*" 			style "tooltip"
widget_class "*GtkNotif*" 			style "tooltip"
widget "*gtk-tooltip*" 				style "tooltip"
widget_class "*<GtkNotebook>.GtkLabel*" 	style "notebook"   # makes only tab label
#widget_class "*GtkNotebook*GtkLabel*"		style "notebook"   # makes all fg labels
widget_class "*XfceNotifyWindow*.<GtkLabel>" 	style "xfnotifytext"
widget_class "XfceNotifyWindow.*<GtkButton>" 	style "button"	
widget_class "*Nautilus*Toolbar*Entry*"		style "entry"

widget_class "*.<GtkLabel>"			style "inactivestate"
widget_class "*.<GtkCellLayout>"		style "inactivestate"
widget_class "*.<Combo>"			style "inactivestate"
widget_class "*.<GtkMenuItem>.*"		style "inactivestate"

# list header
widget_class "*List"				style "listheader"
widget_class "*GtkCList"			style "listheader"
widget_class "*GtkTree"				style "treeview-item"

widget_class "*.GtkTreeView"			style "treeview-item"
widget_class "*.<GtkTreeView>"			style "treeview-item"
	
### The End. ###
